package com.rainxing.cockpit.modules.hotline.service;

import com.baomidou.mybatisplus.service.IService;
import com.rainxing.cockpit.modules.hotline.pojo.Hotline;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author yabin
 * @since 2018-07-26
 */
public interface HotlineService extends IService<Hotline> {
    Map<String, Integer> sourceCount(String startTime, String endTime);

    Map<String, Object> hotLineTop10(String startTime, String endTime);

    List<Map<String, String>> getReportMonthList(String startTime, String endTime);

    Map<String, Object> getReportDepartmentList(String startTime, String endTime);

    Map<String, Object> getReportTop3(String startTime, String endTime);

    Map<String, Object> getReportRankList();

    Map<String, Object> getIndexCount(String startTime, String endTime);

    Map<String, Object> getReportDepartmentInfo(String startTime, String endTime);
}
